package com.ckf.login_wx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.springframework.stereotype.Component;


@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sell")
public class Sell {

    @TableId(type = IdType.AUTO)
    private int id;
    private String cid;
    private String name;
    private String name2;
    private String odd;
    private String modele;
    private int quantite;
    private String unite;
    private int money;
    private int total;
    private String time;
    private String time2;
    private String phone;
    private String saisie;
    private String site;
    private String anq;
    private String tupian;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getName2() {
		return name2;
	}
	public void setName2(String name2) {
		this.name2 = name2;
	}
	public String getOdd() {
		return odd;
	}
	public void setOdd(String odd) {
		this.odd = odd;
	}
	public String getModele() {
		return modele;
	}
	public void setModele(String modele) {
		this.modele = modele;
	}
	public int getQuantite() {
		return quantite;
	}
	public void setQuantite(int quantite) {
		this.quantite = quantite;
	}
	public String getUnite() {
		return unite;
	}
	public void setUnite(String unite) {
		this.unite = unite;
	}
	public int getMoney() {
		return money;
	}
	public void setMoney(int money) {
		this.money = money;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getTime2() {
		return time2;
	}
	public void setTime2(String time2) {
		this.time2 = time2;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getSaisie() {
		return saisie;
	}
	public void setSaisie(String saisie) {
		this.saisie = saisie;
	}
	public String getSite() {
		return site;
	}
	public void setSite(String site) {
		this.site = site;
	}
	public String getAnq() {
		return anq;
	}
	public void setAnq(String anq) {
		this.anq = anq;
	}
	
	public String getTupian() {
		return tupian;
	}
	public void setTupian(String tupian) {
		this.tupian = tupian;
	}
	@Override
	public String toString() {
		return "Sell [id=" + id + ", name=" + name + ", name2=" + name2
				+ ", odd=" + odd + ", modele=" + modele + ", quantite="
				+ quantite + ", unite=" + unite + ", money=" + money
				+ ", total=" + total + ", time=" + time + ", time2=" + time2
				+ ", phone=" + phone + ", saisie=" + saisie + ", site=" + site
				+ ", anq=" + anq + ", tupian=" + tupian + "]";
	}
	public String returnstu() {
		return  name  + modele  + unite ;
	}
}
